package com.qf.factory;

import org.springframework.beans.factory.FactoryBean;

import java.util.HashMap;

public class HashMapFactory {

    // 静态工厂创建对象
    public HashMap<String,Object> getMapInstance(){
        HashMap<String,Object> map = new HashMap<String,Object>();

        map.put("abc","123");
        map.put("abcd","123");
        map.put("abcde","123");

        return map;
    }


}
